import request from '@/utils/request'

// banner
export function listBanner(page) {
    return request({
        url: '/cms/banner/page/'+page,
        method: 'get',
    })
}

// 首页文章
export function listArticle() {
    return request({
        url: '/ams/article/hot',
        method: 'get'
    })
}
// 首页视频
export function listVideo() {
    return request({
        url: '/video/hot',
        method: 'get'
    })
}